Parameters
- values
- The values to assign to the red, green, blue, and alpha components of the color. This must be an array with four elements.
Exception | Description |
---|---|
System.ArgumentNullException | Thrown when values is null . |
System.ArgumentOutOfRangeException | Thrown when values contains more or less than four elements. |